package com.zxcz.aliyun;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;



import lombok.Data;

@Configuration
@ConfigurationProperties(prefix = "aliyun.oss")
public class OssConfig {
	private String regionId;
	private String accessKeyId;
	private String accessKeySecret;
	private String endpoint;
	private String bucketName;
	private String downloadARN;
	private String uploadARN;
	private String dir;
	
	public String getRegionId() {
		return regionId;
	}
	public void setRegionId(String regionId) {
		this.regionId = regionId;
	}
	public String getAccessKeyId() {
		return accessKeyId;
	}
	public void setAccessKeyId(String accessKeyId) {
		this.accessKeyId = accessKeyId;
	}
	public String getAccessKeySecret() {
		return accessKeySecret;
	}
	public void setAccessKeySecret(String accessKeySecret) {
		this.accessKeySecret = accessKeySecret;
	}
	public String getEndpoint() {
		return endpoint;
	}
	public void setEndpoint(String endpoint) {
		this.endpoint = endpoint;
	}
	public String getBucketName() {
		return bucketName;
	}
	public void setBucketName(String bucketName) {
		this.bucketName = bucketName;
	}
	public String getDownloadARN() {
		return downloadARN;
	}
	public void setDownloadARN(String downloadARN) {
		this.downloadARN = downloadARN;
	}
	public String getUploadARN() {
		return uploadARN;
	}
	public void setUploadARN(String uploadARN) {
		this.uploadARN = uploadARN;
	}
	public String getDir() {
		return dir;
	}
	public void setDir(String dir) {
		this.dir = dir;
	}
	
	
}
